package org.example.eureka.client2.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(contextId = "helloFeign", value = "eureka-client")
public interface HelloFeign {

    @GetMapping("/hello/hello")
    String hello(@RequestParam(value = "name") String name);
}
